package com.uniontech.curd.entity.http;

public interface HttpMsgDefine {


    int HTTP_STATUS_OK=1;
    String  HTTP_MSG_OK="ok";

    int HTTP_STATUS_MISS_PARAM=-1;
    String HTTP_MSG_MISS_PARAM="缺少参数";

    int HTTP_STATUS_LOGIN_FAIL=-2;
    String HTTP_MSG_LOGIN_FAIL="登录失败，用户名或者密码错误";

    int HTTP_STATUS_PARAM_INVAILD=-3;
    String HTTP_MSG_PARAM_INVAILD="参数无效";

    int HTTP_STATUS_PASSWORD_INCORRECT=-4;
    String HTTP_MSG_PASSWORD_INCORRECT="密码不正确";

    int HTTP_STATUS_SYS_ERROR=-5;
    String HTTP_MSG_SYS_ERROR="系统错误";

    int HTTP_STATUS_NO_LOGIN=-6;
    String HTTP_MSG_NO_LOGIN="用户未登录，或者登录已失效";


    int HTTP_STATUS_PERMISSION_DENIED=-7;
    String HTTP_MSG_PERMISSION_DENIED="没有访问权限";

    int HTTP_STATUS_NOT_FOUND=-8;
    String HTTP_MSG_NOT_FOUND="没有找到页面";

    int HTTP_STATUS_SAVE_ERROR=-9;
    String HTTP_MSG_SAVE_ERROR="数据保存失败";

    int HTTP_STATUS_HTTP_METHOD_ERROR=-10;
    String HTTP_MSG_HTTP_METHOD_ERROR="HTTP请求方法不支持";

    int HTTP_STATUS_LDAP_ERROR=-11;
    String HTTP_MSG_HTTP_LDAP_ERROR="ldap错误";

    int HTTP_STATUS_USERINFO_FAILED=-12;
    String HTTP_MSG_USERINFO_FAILED="获取用户信息失败";

    int HTTP_STATUS_FILE_UPLOAD_FAILED=-13;
    String HTTP_MSG_FILE_UPLOAD_FAILED="文件上传失败";

    int HTTP_STATUS_FILE_DELETE_FAILED=-14;
    String HTTP_MSG_FILE_DELETE_FAILED="文件删除失败";
}
